<template>
  <div class="headerWrapper">
    <span class="iconfont iconnew"></span>
    <div class="searchWrapper" @click="$router.push('/search')">
      <span class="iconfont iconsearch"></span>
      搜索新闻
    </div>
    <span class="iconfont iconwode" @click="$router.push('/personalIndex')"></span>
  </div>
</template>

<script>
export default {};
</script>

<style lang="less" scoped>
.headerWrapper {
  height: 50/360 * 100vw;
  display: flex;
  align-items: center;
  padding: 0 14/360 * 100vw;
  color: #fff;
  background: red;
  .iconnew {
    font-size: 54/360 * 100vw;
  }
  .searchWrapper {
    flex: 1;
    text-align: center;
    line-height: 36/360 * 100vw;
    margin: 0 20/360 * 100vw;
    border-radius: 20/360 * 100vw;
    background: rgba(255, 255, 255, 0.6);
  }
  .iconwode {
    font-size: 36/360 * 100vw;
    opacity: 0.8;
  }
}
</style>